{include file='index@common/header' /}
<div class="row">
    {notempty name='tag'}
        <div class="col-md-9">
            <div class="panel panel-default">
                <div class="panel-heading" style="overflow:hidden;">
                    标签: <span class="text-danger"><strong>{$tag.tag}</strong></span>
                </div>
                <div class="list-group">
                {foreach name='lists' item='vo'}
                    <a href="{$vo.url}" class="list-group-item"><span class="badge">{$vo.update_time|date='Y-m-d H:i',###}</span>{$vo.shorttitle}</a>
                {/foreach}
                </div>
            </div>
            {$page}
        </div>
        <div class="col-md-3">
            {include file='index@common/tags' /}
        </div>
    {else /}
        <div class="col-md-9">
            <div class="panel panel-default">
                <div class="panel-heading" style="overflow:hidden;">
                    所有标签
                </div>
                <div class="panel-body">
                    {foreach name='lists' item='vo'}
                        <a href="{$vo.url}">{$vo.tag}({$vo.count})</a>&nbsp;&nbsp;&nbsp;
                    {/foreach}
                </div>
            </div>
        </div>
        <div class="col-md-3">
            {include file='index@common/tags' /}
        </div>
    {/notempty}
</div>
{include file='index@common/footer' /}